import { ref } from 'vue'

export default function delLonwledgeService() {
  // 控制删除知识库窗口
  const delKnowledgeState = ref<boolean>(false)
  const opendelKnowledgeModal = () => {
    delKnowledgeState.value = true
  }
  const closedelKnowledgeModal = () => {
    delKnowledgeState.value = false
  }

  return { delKnowledgeState, opendelKnowledgeModal, closedelKnowledgeModal }
}
